The setSortColumn(listView, colNum) doesn't seem to sort the listView... is there something else I have to call to refresh the view or something? |
Re: Sort listView
[] The ListView DBE must be created with option listViewOptionSortText.
//*******************
int fDbeLv_clbkSortFunction(string s1, s2)
{ // Standard sort function when defining a column as sortable.
// Developers Note: Some code if added herein will cause DXL exception Violations.
// Don't understand why, but this function needs to be kept as-is.
int Result
if (s1 == s2) Result = 0
elseif (s1 > s2) Result = 1
elseif (s1 < s2) Result = -1
else{} // all cases covered
return(Result)
} // end fDbeLv_clbkSortFunction()
|
Re: Sort listView llandale - Tue Apr 26 14:25:07 EDT 2011
[] The ListView DBE must be created with option listViewOptionSortText.
//*******************
int fDbeLv_clbkSortFunction(string s1, s2)
{ // Standard sort function when defining a column as sortable.
// Developers Note: Some code if added herein will cause DXL exception Violations.
// Don't understand why, but this function needs to be kept as-is.
int Result
if (s1 == s2) Result = 0
elseif (s1 > s2) Result = 1
elseif (s1 < s2) Result = -1
else{} // all cases covered
return(Result)
} // end fDbeLv_clbkSortFunction()
|
Re: Sort listView llandale - Tue Apr 26 14:25:07 EDT 2011
[] The ListView DBE must be created with option listViewOptionSortText.
//*******************
int fDbeLv_clbkSortFunction(string s1, s2)
{ // Standard sort function when defining a column as sortable.
// Developers Note: Some code if added herein will cause DXL exception Violations.
// Don't understand why, but this function needs to be kept as-is.
int Result
if (s1 == s2) Result = 0
elseif (s1 > s2) Result = 1
elseif (s1 < s2) Result = -1
else{} // all cases covered
return(Result)
} // end fDbeLv_clbkSortFunction()
|
Re: Sort listView listView definition filesCheck1 = listView(pizzaBox, listViewOptionCheckboxes|listViewOptionSortText, 400,10, nonMembersStrArray) |
Re: Sort listView SystemAdmin - Thu Nov 29 01:47:08 EST 2012 |
Re: Sort listView llandale - Thu Nov 29 12:46:51 EST 2012 |